package com.link.base.base.opty.controller;

import com.link.base.base.opty.model.Reason;
import com.link.base.base.opty.service.ReasonService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @author: 路江
 * @created: 2018-06-25
 * @comments:
 */
@Controller
@RequestMapping("/link/reason")
public class ReasonController extends BasicController<Reason> {

    @Resource
    private ReasonService reasonService;

    @Override
    public BasicService<Reason> getBasicService() throws Exception {
        return reasonService;
    }
}
